POV-Ray : Newsgroups : povray.general : Discs : Re: Discs Server Time
14 Aug 2024 05:22:33 EDT (-0400)
  Re: Discs  
From: Anthony Bouttell
Date: 9 Feb 1998 21:23:26
Message: <34e3ba0d.690367295@news.povray.org>
On Mon, 09 Feb 1998 01:59:55 GMT, bou### [at] rogerswaveca (Anthony
Bouttell) wrote:

>G'day all.
>I'm having a problem using the disc object. It doesn't want to be
>seen. Here's the code I'm using and every time I run POVRAY nothing
>shows up. In addition to this, can I use the "union" or "merge"
>modifiers on discs ?
>
>//==================================
>
>#include "colors.inc"
>
>Global_settings { ambient_light color White }
>light_source { <12, 12.5335, 12> color rgb <1,1,1> }
>
>#declare Test_A = disc{<0,0,0>,.999,5 color Green rotate<-45,45,-45>}
The big whoops I discovered, after actually reading the contents of
the message Window, has to do with the use of, "color", I should of
said :

#declare Test_A = disk{<0,0,0>,.999,5 texture{pigment{color Green}}
rotate<-45,-45,-45>}

( actually the <0,0,0> could have been coded 0 } 
>	
>camera {
>   perspective
>   location <0, 40.335,0>
>   look_at <0,0,0>
>   angle30
>}
> Test_A


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.